﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Security;
using System.Web;
using System.Web.Mvc;
using UnionManager.Models;
using UnionManager.Controllers;
using UnionManager.ViewModels;
using UnionManager.Infrastructure;

namespace UnionManager.Controllers.UnionModule
{
    public class UnionController : BaseController
    {
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ListActivities()
        {
            return View();
        }

        public ActionResult Management()
        {
            return View();
        }

        
        public ActionResult SearchUnion()
        {
            if(Request !=null && Request.IsAjaxRequest())
            {
                return PartialView();
            }
            else
            {
                return Redirect("Index");
            }
        }
    }
}
